package com.dubito.pattern.创建型模式.工厂模式.抽象工厂;

/**
 * @author liliang
 * @date 2020/8/26.
 */
public class ConcreteFactory2 implements AbstractFactory {
    @Override
    public ProductA factoryA() {
        return new ProductA2();
    }

    @Override
    public ProductB factoryB() {
        return new ProductB2();
    }
}
